package com.enbatis.mybatisplugs;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@MapperScan("com.enbatis.mybatisplugs.mapper")
@Slf4j
public class MybatisPlugsApplication {

    public static void main(String[] args) {
        SpringApplication application=new SpringApplication(MybatisPlugsApplication.class);
        application.setBannerMode(Banner.Mode.CONSOLE);
        application.run(MybatisPlugsApplication.class, args);
        log.info("Mybatis-plugs start!\thttp://localhost:9888/swagger-ui.html#/");
     }

}
